<?php

/**
 * Created by PhpStorm.
 * User: 地根
 * Date: 30/01/2018
 * Time: 2:26 PM
 */
namespace App;

use App\Advice\AnnotationAspect;
use App\Advice\AroundAspect;
use App\Advice\MonitorAspect;
use App\Advice\OrderAspect;
use Go\Core\AspectKernel;
use Go\Core\AspectContainer;

class ApplicationAspectKernel extends AspectKernel
{
    protected function configureAop(AspectContainer $container)
    {
        $container->registerAspect(new MonitorAspect());
        $container->registerAspect(new AroundAspect());
        $container->registerAspect(new AnnotationAspect());
        $container->registerAspect(new OrderAspect());
    }

}